.TH E1432_INIT_IO_DRIVER 3 E1432
.SH NAME
.nf
e1432_init_io_driver \- Initialize I/O driver 
e1432_set_interface_addr \- Set SICL interface name
e1432_uninit_io_driver \- Close SICL files and free all memory
.fi
.IX e1432_init_io_driver(3) 3
.IX e1432_set_interface_addr(3) 3
.IX e1432_uninit_io_driver(3) 3
.SH SYNOPSIS
.cS
SHORTSIZ16 e1432_init_io_driver(void)
SHORTSIZ16 e1432_set_interface_addr(const char *name)
SHORTSIZ16 e1432_uninit_io_driver(void)
.cE
.SH DESCRIPTION
\fIe1432_init_io_driver\fR must be the first routine called when using
the E1432 library.  It performs whatever initialization the I/O driver
(for example, SICL) needs for the environment in which this library is
running.

\fIe1432_set_interface_addr\fR is the one function which can be called
before \fIe1432_init_io_driver\fR.  Call
\fIe1432_set_interface_addr\fR before \fIe1432_init_io_driver\fR to
change the SICL interface name from the default of "vxi" to some other
interface name.  See your SICL documentation for more information.
SICL is the 'Standard Instrument Interface Library' that the E1432
interface library calls to communicate with the E1432 hardware.

\fIname\fR specifies the SICL interface name.  If this name is longer
than \fBE1432_SICL_NAME_MAX\fR - 1, it is silently truncated to that
length.  If \fIname\fR is specified as the empty string, then the
default name ("vxi") will be used.

\fIe1432_uninit_io_driver\fR is the inverse of
\fIe1432_init_io_driver\fR.  It frees all memory that the library has
allocated internally, unmaps VXI shared memory windows, and closes all
file descriptors that the library openned.  After this call, no other
calls to the E1432 host interface library should be made (except for
another \fIe1432_init_io_driver\fR to re-open the library).

.SH "RESET VALUE"
Not applicable.
.SH "RETURN VALUE"
Return 0 if successful, a (negative) error number otherwise
.SH "SEE ALSO"
.na
e1432_assign_channel_numbers
.ad
